package org.jeecg.modules.yw.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName("messages")
public class Messages implements Serializable {
    private static final long serialVersionUID = 1L; 
	/**考勤id*/
	@TableId(type = IdType.ASSIGN_ID)
	private String id;
    @TableField(value = "orderId")
	private String orderId;
    @TableField(value = "orderNo")
	private String orderNo;
    @TableField(value = "yyTime")
	private String yyTime;
    @TableField(value = "ownerAddress")
	private String ownerAddress;    
    @TableField(value = "msgType")
	private Integer msgType; // 消息分类(1: 订单类消息 2. 普通消息 )
    @TableField(value = "orderMsgType")
	private Integer orderMsgType; // 订单消息：0: 新建订单 1：安装班组待处理 2. 安装班组拒绝 3. 安装完成  4 .打胶售后待处理 5 打胶售后拒绝 6. 打胶完成 7. 结算确认 8 确认完成 9. 更新结算状态 10.查损核数不相符 11. 洞口复测不相符
    @TableField(value = "normalMsgType")
    private Integer normalMsgType;
    @TableField(value = "opMsgType")
    private Integer opMsgType;
    @TableField(value = "opMsgText")
    private String opMsgText;
    @TableField(value = "state")
	private int state;  // 处理状态 0: 未处理  1：已处理
    @TableField(value = "msgTime")
	private String msgTime; // 消息时间
    @TableField(value = "currentUserId")
	private String currentUserId; // 用户id (中控是0)
	private String reason; // 拒绝原因
    @TableField(value = "delFlag")
	private int delFlag; // 删除状态(0: 正常 1:删除)
	@TableField(value = "remark")
    private String remark;	
	@TableField(value = "dealTime")
    private String dealTime;
	
}
